package com.xinqi.modules.sys.dict.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinqi.common.mybatis.data.repo.SuperMapper;
import com.xinqi.modules.sys.dict.domain.DictGradeEntity;
import com.xinqi.modules.sys.dict.dto.req.DictGradeQueryDTO;
import com.xinqi.modules.sys.dict.dto.rsp.DictGradeResultDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 字典-年级数据层
 *
 * @author: linkai
 * @date: 2023/05/03
 */
@Mapper
public interface DictGradeMapper extends SuperMapper<DictGradeEntity> {
    Page<DictGradeResultDTO> findPage(Page<Object> page, @Param("dto") DictGradeQueryDTO query);

    List<DictGradeResultDTO> findList(@Param("dto") DictGradeQueryDTO query);
}
